package com.xuxin.baby.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.xuxin.baby.R;
import com.xuxin.baby.bean.ReaderVideoBean;

import org.jetbrains.annotations.NotNull;

/**
 * Created by xu_xin
 * Created on 2020/11/6 0006
 */
public class TeachAdapter extends BaseQuickAdapter<ReaderVideoBean.ResultBean.ItemsBean, BaseViewHolder> {

    public TeachAdapter() {
        super(R.layout.item_teach);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder holder, ReaderVideoBean.ResultBean.ItemsBean item) {
        holder.setText(R.id.item_teach_name, item.getTitle());
    }
}